<?php
/**
 * CakePOWER
 * Language Management Configuration
 * 
 * @author:			Marco Pegoraro
 * @mail:			marco(dot)pegoraro(at)gmail(dot)com
 * 
 * 25 September 2009
 * This file define how CakePOWER use the Requested Language via urls.
 */


/**
 * If you plan to disallow language fetching you can set to false this config.
 * NOTE: Other configs in this file will be useless. 
 */
DAC::def( 'power.lang.flag', '' );

/**
 * Il you plan to use a static language you can set to the lang identifies this config.
 * NOTE: Other configs in this file will be useless. 
 */
#DAC::write ('power.lang.flag', 'ita' );

/**
 * Default Lang Flag
 * ------------------------------------------------------------------------------------------------
 * This is a default value to set for lang flag in case of missing rules or errors.
 */
DAC::def( 'power.lang.default', '' ); 

/**
 * Dictionary setup.
 * ------------------------------------------------------------------------------------------------
 * It is possible to set up a rigid dictionary in order to manage the identification of the language.
 */
DAC::def( 'power.lang.dictionary', array() );

/**
 * Dimension setup.
 * ------------------------------------------------------------------------------------------------
 */
DAC::def( 'power.lang.length', 3 );

/**
 * Dimension Exception setup.
 * ------------------------------------------------------------------------------------------------
 * You can define a list of words (of "power.lang.length" chars count) to excluded
 * by language interpretation.
 * This is usefull if you plan to use controllers or plugins or routes with small length.... 
 */
DAC::def( 'power.lang.exceptions', array() );

?>